package com.rh.number.dto;

import com.fasterxml.jackson.annotation.JsonAutoDetect;

@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY)
public class StatsResultDTO {
    private String client;
    private String upstream;
    private String province;
    private String city;
    private Long total;
    private Long unshelved;
    private String region;

    // 无参构造器
    public StatsResultDTO() {
    }

    // 全参构造器
    public StatsResultDTO(String client, String upstream, String province,
                          String city, Long total, Long unshelved, String region) {
        this.client = client;
        this.upstream = upstream;
        this.province = province;
        this.city = city;
        this.total = total;
        this.unshelved = unshelved;
        this.region = region;
    }

    // Getter 和 Setter 方法
    public String getClient() { return client; }
    public void setClient(String client) { this.client = client; }

    public String getUpstream() { return upstream; }
    public void setUpstream(String upstream) { this.upstream = upstream; }

    public String getProvince() { return province; }
    public void setProvince(String province) { this.province = province; }

    public String getCity() { return city; }
    public void setCity(String city) { this.city = city; }

    public Long getTotal() { return total; }
    public void setTotal(Long total) { this.total = total; }

    public Long getUnshelved() { return unshelved; }
    public void setUnshelved(Long unshelved) { this.unshelved = unshelved; }

    public String getRegion() { return region; }
    public void setRegion(String region) { this.region = region; }
}